home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
014
/
arcit.bat
< prev
next >
Wrap
DOS Batch File
|
1985-11-12
|
768b
|
37 lines
ECHO >DELIBONE.BAT LUE %1
ECHO >>DELIBONE.BAT COPY DELIBONE.BAT HADONE.XXX
ECHO >Y Y
md temp
:START
IF NOT EXIST %1.LQR GOTO TRYLBR
CD TEMP
USQSR ..\%1.LQR
LUE %1.LBR
DEL %1.LBR
GOTO GOTIT
:TRYLBR
IF NOT EXIST %1.LBR GOTO FINISH
CD TEMP
LUE ..\%1.LBR
:GOTIT
FOR %%A IN (*.?Q?) DO USQSR %%A
DEL *.?Q?
:CHEKLBR
DEL HADONE.XXX
FOR %%A IN (*.LBR) DO ..\DELIBONE %%A
IF EXIST HADONE.XXX GOTO GOTIT
:ARCNOW
ARC U %1.ARC *.*
REM DEL ..\%1.L?R
MV %1.ARC ..
DEL *.* < ..\Y
SHIFT
CD ..
GOTO START
:FINISH
DEL Y
DEL DELIBONE.BAT
rd temp
CLS
REM *** ALL SPECIFIED FILES ARCED ***